package com.spzx.order.api.fallback;

import com.spzx.common.core.domain.R;
import com.spzx.order.api.RemoteOrderInfoService;
import com.spzx.order.domain.OrderInfo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.nio.file.LinkOption;

/**
 * @author: atguigu
 * @create: 2025-02-28 14:23
 */
@Slf4j
@Service
public class RemoteOrderInfoServiceFallback implements RemoteOrderInfoService {
    @Override
    public R<OrderInfo> getByOrderNo(String orderNo, String source) {
        log.error("[订单服务]提供远程调用{}，执行了服务降级", "getByOrderNo");
        return null;
    }
}
